﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Icoders.MarketTracker.Core.MasterData;

namespace Icoders.MarketTracker.Core.Repository.MasterDataRepositories
{
    public interface IUserRepository : IBaseRepository<User>
    {
        bool IsEnabled(string username);
        bool IsChangePass(string username);
        bool IsLogin(string username, string password);
        User GetByUsername(string username);
        List<User> GetByType(UserType type);
        bool IsLoginMobile(string username, string password);
        void ChangePassword(string username, string oldpassword, string password);

    }
}
